home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Mac Game Programming Gurus / TricksOfTheMacGameProgrammingGurus.iso / Tools / nShell™ 1.0.3 / MoreSource / shift.π.rsrc / shift.π.rsrc.rsrc / TEXT_16000_man general.txt next >
Encoding:
Text File  |  1994-09-22  |  511 b   |  18 lines

  1.  
  2. NAME
  3.  
  4. shift - Shift numeric variables
  5.  
  6. SYNOPSIS
  7.  
  8. shift [n]
  9.  
  10. DESCRIPTION
  11.  
  12. The numeric variables shall be shifted.  Numeric variable $0 shall be assigned the value of variable $(0+n), variable $1 shall be assigned the value of variable $(1+n), and so forth.  The variables represented by the numbers $# down to $#-n+1 shall be unset, and the variable $# shall be updated to reflect the new number of variable variables.
  13.  
  14. RETURN CODES
  15.  
  16. <0    Error
  17. 0    Success, $0 is valid.
  18. 1    No numeric variables found, $0 is cleared.